package com.zyc.protoTypeMode;

/**
 * @author zyc
 * @create 2022--07--25 16:54
 */
public class Main {
    public static void main(String[] args) throws CloneNotSupportedException {
        Resume resume = new Resume("周毓昌");
        resume.setSex("男");
        Object resume2 = resume.clone();
        System.out.println(resume.toString());
        System.out.println(resume2.toString());
        System.out.println(resume == resume2);
    }
}
